package com.pig4cloud.pigx.knowledge.support.constant;

import lombok.experimental.FieldNameConstants;

/**
 * 文档类型
 *
 * @author lengleng
 * @date 2024/7/4
 * <p>
 * "0" 答案 "1" 问题
 */
@FieldNameConstants
public enum DocumentTypeEnums {

	ANSWER("0", "答案"), QUESTION("1", "问题");

	private final String type;

	private final String desc;

	DocumentTypeEnums(String type, String desc) {
		this.type = type;
		this.desc = desc;
	}

	public String getType() {
		return type;
	}

	public String getDesc() {
		return desc;
	}

}
